//part1:C03:ex3.4.1.cpp -- read two strings, compare them.
#include <iostream>
#include <string>

int main(void)
{
    using namespace std;
    string s1, s2;
    cout << "Enter tow strings: " << endl;
    cin >> s1 >> s2;
    if (s1 == s2)
    {
        cout << "two string equal!" << endl;
    }
    else if (s1 > s2)
    {
        cout << s1 << " larger than " << s2 << endl;
    }
    else
    {
        cout << s2 << "larger than " << s2 << endl;
    }
    
    return 0;
}